﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TERRITORY EVENTS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure for a territory event:
; { 
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #IMAGE= Event image that will be displayed when event occurs
;         PNG images must be 736x418 or 368x418 pixels, see 'Extras' folder for sample images and frames
;         Multiple pictures can be used by using a ',' to separate them
;         Format: picture1.png, picture2.png, picture3.png, picture4.png
; #SOUND= Event sound that will be displayed when event occurs
;         Multiple sounds can be used by using a ',' to separate them
;         Format: sound1.mp3, sound2.mp3, sound3.mp3, sound4.mp3
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 3];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
;                       OR
;        Once the #DATE field is satisfied:
;        3 = Event fires once if all other fields are satisfied, else it will not fire.  Either way, event will be removed never to be looked at again
; #AI= Values range [0, 4]
;      0 = Event fires whenever all fields are satisfied for any game type
;      1 = Event fires whenever all fields are satisfied, for AI games only, and only on the Axis AI turn
;      2 = Event fires whenever all fields are satisfied, for AI games only, and only on the Allied AI turn
;      3 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Axis AI or on the Allied Multiplayer turns
;      4 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Allied AI or on the Axis Multiplayer turns
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #COUNTRY_ID= Country's ID that will lose territory to TRANSFER_ID
; #RECIPIENT_ID= Transfer country ID (country that will receive the territory listed under each #MAP_POSITION)
; #REMOVE= Override of the default event handling of enemy units in territory to be transferred
;          Remove enemy units from territory to be transferred? (values range [0, 3]; None= 0; Land= 1; Naval= 2; All= 3)
; #DATE= Date where ownership is transferred from #COUNTRY_ID to #RECIPIENT_ID (format yyyy/mm/dd)
; #VARIABLE_CONDITION= Under what variable conditions will this event occur
;                      Format: country_id [political_alignment] [mobilization%] [surrendered_flag]
; #MAP_POSITION= Map position where ownership is transferred from #COUNTRY_ID to #RECIPIENT_ID (format x,y)
; } 
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
;
; Under #VARIABLE_CONDITION you can also list countries that have not yet fully entered the war.
; For example by listing an mobilization % less than 100% you are providing a check where the
; #VARIABLE_CONDITION country must meet a minimum mobilization % in order for the event to occur.
; Each #VARIABLE_CONDITION line will be read using AND logic.
;
; #MAP_POSITION cannot be a Capital position but if this event is used to create a new country
; on the map, setting the first #MAP_POSITION entry as a City or a Village will ensure this 
; becomes the Capital position for the new country.
;
; More than one #MAP_POSITION can be set
;
; Use the reference values provided for #COUNTRY_ID and #RECIPIENT_ID and not the country names 
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COUNTRY ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Country IDs
; #SEA= Sea
; #NEUTRAL= Neutral
; #COUNTRY_ID_3= Albania
; #COUNTRY_ID_4= Algeria
; #COUNTRY_ID_8= Baltic States
; #COUNTRY_ID_10= Belgium
; #COUNTRY_ID_19= Bulgaria
; #COUNTRY_ID_21= Canada
; #COUNTRY_ID_31= Denmark
; #COUNTRY_ID_36= Egypt
; #COUNTRY_ID_39= Finland
; #COUNTRY_ID_40= France
; #COUNTRY_ID_45= Germany
; #COUNTRY_ID_46= Greece
; #COUNTRY_ID_52= Hungary
; #COUNTRY_ID_56= Iraq
; #COUNTRY_ID_57= Ireland
; #COUNTRY_ID_59= Italy
; #COUNTRY_ID_63= Libya
; #COUNTRY_ID_65= Luxembourg
; #COUNTRY_ID_70= Morocco
; #COUNTRY_ID_73= Netherlands
; #COUNTRY_ID_78= Norway
; #COUNTRY_ID_79= Palestine
; #COUNTRY_ID_82= Persia
; #COUNTRY_ID_85= Poland
; #COUNTRY_ID_87= Portugal
; #COUNTRY_ID_93= Romania
; #COUNTRY_ID_95= Saudi Arabia
; #COUNTRY_ID_99= Spain
; #COUNTRY_ID_103= Sweden
; #COUNTRY_ID_105= Syria
; #COUNTRY_ID_109= Trans-Jordan
; #COUNTRY_ID_110= Tunisia
; #COUNTRY_ID_111= Turkey
; #COUNTRY_ID_112= Britain
; #COUNTRY_ID_115= United States
; #COUNTRY_ID_116= Russia
; #COUNTRY_ID_118= Vichy France
; #COUNTRY_ID_120= Yugoslavia
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


; Franco Offers Hitler Use of Spanish Ports
; Historical date of talks was 1940/10/23
; Trigger of 10% for in-game variance
{
#NAME= VARIANT - Franco Offers Hitler Use of Spanish Ports
#POPUP= VARIANT - Franco Offers Hitler Use of Spanish Ports
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 10
#COUNTRY_ID= 95
#RECIPIENT_ID= 45
#REMOVE= 0
#DATE= 1940/10/23
#VARIABLE_CONDITION= 45 [1] [100] [0]
#MAP_POSITION= 92,33
#MAP_POSITION= 93,31
}

; Britain Moves Government To Canada
; Canadian territory transferred to British control
; Britain assumes control of Toronto, Quebec, Halifax, and St. John's
{
#NAME= Britain Moves Government To Canada
#POPUP= Britain Moves Government To Canada
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[1]
#TRIGGER= 100
#COUNTRY_ID= 21
#RECIPIENT_ID= 112
#REMOVE= 0
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 1,31
#MAP_POSITION= 1,32
#MAP_POSITION= 2,31
#MAP_POSITION= 3,31
#MAP_POSITION= 12,26
#MAP_POSITION= 12,27
#MAP_POSITION= 13,25
#MAP_POSITION= 13,26
#MAP_POSITION= 13,27
#MAP_POSITION= 14,26
#MAP_POSITION= 14,27
#MAP_POSITION= 23,30
#MAP_POSITION= 24,30
#MAP_POSITION= 24,31
#MAP_POSITION= 25,30
#MAP_POSITION= 38,26
#MAP_POSITION= 39,24
#MAP_POSITION= 39,25
}

; Britain Moves Government To Canada
; Liverpool transferred to German control
{
#NAME= Britain Moves Government To Canada (2)
#POPUP= 
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[1]
#TRIGGER= 100
#COUNTRY_ID= 112
#RECIPIENT_ID= 45
#REMOVE= 3
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 105,16
#MAP_POSITION= 105,17
}

; Allies Liberate Britain
; London becomes major capital again
; Canadian territory returned to Canadian control
{
#NAME= Allies Liberate Britain
#POPUP= Allies Liberate Britain!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 10[1]
#TRIGGER= 100
#COUNTRY_ID= 112
#RECIPIENT_ID= 21
#REMOVE= 0
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 1,31
#MAP_POSITION= 1,32
#MAP_POSITION= 2,31
#MAP_POSITION= 3,31
#MAP_POSITION= 12,26
#MAP_POSITION= 12,27
#MAP_POSITION= 13,25
#MAP_POSITION= 13,26
#MAP_POSITION= 13,27
#MAP_POSITION= 14,26
#MAP_POSITION= 14,27
#MAP_POSITION= 23,30
#MAP_POSITION= 24,30
#MAP_POSITION= 24,31
#MAP_POSITION= 25,30
#MAP_POSITION= 38,26
#MAP_POSITION= 39,24
#MAP_POSITION= 39,25
}

; Allies Liberate Britain
; Liverpool transferred back to British control
{
#NAME= Allies Liberate Britain (2)
#POPUP= 
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 10[1]
#TRIGGER= 100
#COUNTRY_ID= 45
#RECIPIENT_ID= 112
#REMOVE= 3
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 105,16
#MAP_POSITION= 105,17
}

;Allies Liberate France (Vichy France Surrenders)
{
#NAME= Allies Liberate France (Vichy France Surrenders)
#POPUP= Allies Liberate France (Vichy France Surrenders)
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 4[1]
#TRIGGER= 100
#COUNTRY_ID= 118
#RECIPIENT_ID= 40
#REMOVE= 0
#DATE= 1941/01/01
#VARIABLE_CONDITION= 40 [2] [100] [0]
#MAP_POSITION= 110,30
#MAP_POSITION= 104,34
#MAP_POSITION= 105,33
#MAP_POSITION= 104,35
#MAP_POSITION= 105,34
#MAP_POSITION= 106,35
#MAP_POSITION= 107,35
#MAP_POSITION= 108,36
#MAP_POSITION= 108,35
#MAP_POSITION= 109,34
#MAP_POSITION= 110,34
#MAP_POSITION= 110,35
#MAP_POSITION= 111,34
#MAP_POSITION= 111,35
#MAP_POSITION= 112,35
#MAP_POSITION= 112,36
#MAP_POSITION= 113,35
#MAP_POSITION= 114,35
#MAP_POSITION= 113,34
#MAP_POSITION= 114,34
#MAP_POSITION= 114,33
#MAP_POSITION= 114,32
#MAP_POSITION= 113,31
#MAP_POSITION= 113,32
#MAP_POSITION= 113,33
#MAP_POSITION= 112,34
#MAP_POSITION= 111,33
#MAP_POSITION= 111,32
#MAP_POSITION= 110,33
#MAP_POSITION= 109,33
#MAP_POSITION= 108,34
#MAP_POSITION= 107,34
#MAP_POSITION= 106,34
#MAP_POSITION= 106,33
#MAP_POSITION= 106,32
#MAP_POSITION= 107,31
#MAP_POSITION= 107,30
#MAP_POSITION= 108,30
#MAP_POSITION= 108,31
#MAP_POSITION= 109,29
#MAP_POSITION= 110,29
#MAP_POSITION= 111,29
#MAP_POSITION= 112,30
#MAP_POSITION= 113,30
#MAP_POSITION= 112,31
#MAP_POSITION= 111,30
#MAP_POSITION= 109,30
#MAP_POSITION= 109,31
#MAP_POSITION= 108,32
#MAP_POSITION= 108,33
#MAP_POSITION= 107,33
#MAP_POSITION= 107,32
#MAP_POSITION= 110,31
#MAP_POSITION= 110,32
#MAP_POSITION= 109,32
#MAP_POSITION= 111,31
#MAP_POSITION= 112,32
#MAP_POSITION= 112,33
; Corsica
#MAP_POSITION= 115,37
#MAP_POSITION= 116,37
#MAP_POSITION= 117,36
#MAP_POSITION= 117,37
#MAP_POSITION= 116,38
#MAP_POSITION= 117,38
}

